<?php

if (method_exists('\think\Console', 'addDefaultCommands')) {
    \think\Console::addDefaultCommands([
        'crontask' => '\\Creatcode\\Crontask\\command\\TaskCommand',
    ]);
}
